package com.zlm.function;

import java.util.function.Supplier;

/**
 * @Author: 郑
 * @Date: Create in 2020-3-6.
 */
public class Demo4 {
    public static void main(String[] args) {

         Supplier<String> supplier = () -> {return "1024";};
        System.out.println(supplier.get());
    }
}
